package com.chencl.cipher.config.log;

import lombok.Data;

import java.util.Date;

/**
 * @program: dynamic-datasource
 * @description:
 * @author: jiangshengli
 * @create: 2022-03-17 14:24
 */
@Data
public class OperationLog {

    private String id;
    private String ip;
    private Date createTime;
    /**
     * 日志等级
     */
    private Integer level;
    /**
     * 方法名
     */
    private String method;
    /**
     * 参数
     */
    private String args;

    private String appid;
    /**
     * 操作人id
     */
    private String userId;
    /**
     * 操作人
     */
    private String userName;
    /**
     * 方法返回值
     */
    private String returnValue;

    @Override
    public String toString() {
        return "OperationLogController{" +
                "id='" + id + '\'' +
                ", createTime=" + createTime +
                ", level=" + level +
                ", method='" + method + '\'' +
                ", args='" + args + '\'' +
                ", userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", returnValue='" + returnValue + '\'' +
                '}';
    }


}
